 {extend name="layout:base" /}{block name="content"}

 <?php
$global=isSupperManagerForSession();
 ?>
 <link rel="stylesheet" type="text/css" href="/static/My97DatePicker/skin/WdatePicker.css" />
 <script charset="utf-8" src="/static/My97DatePicker/WdatePicker.js"></script>
<style type="text/css">
    #zc_detail table{margin:10px;}
    #zc_detail table tr td{
    border: 1px solid #ddd;
    line-height:30px;
    padding-left:5px;
    padding-right:5px;
        word-break:break-all;
    }
    .tr_cons{padding-right:100px;}
    .tr_title{width:100px;}
</style>
<script type="text/javascript" charset="utf-8" src="/static/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="/static/ueditor/ueditor.all.min.js"> </script>
<script type="text/javascript" charset="utf-8" src="/static/ueditor/lang/zh-cn/zh-cn.js"></script>


<section class="topBanners">
         <div class="icon"></div>
         <div class="topBannersNav">
        <span data-url="/admin/music/lists" onclick="ContentLoadGo('/admin/sleepapilog/lists')">睡眠数据</span>
         >
         <span data-url="/admin/music/infoData"  onclick="ContentLoadGo('/admin/sleepapilog/infoData?id=<?php echo $id; ?>')"  >详情</span>
         
         </div>
</section>
 <section id="zc_detail">
     <input type="hidden" value="<?php echo $id; ?>" id="editId" />
   <table  border="0" cellspacing="0" style="width:96%;" cellpadding="0">
       <tr>
           <td><div align="right" class="tr_title">用户信息</div></td>
           <td>

                <?php echo $info['UserInfo']['uname']; ?>
                [<?php echo $info['UserInfo']['nickname']; ?>]

           </td>
       </tr>
       <tr>
           <td style="vertical-align: top"><div align="right" class="tr_title">数据1</div></td>
           <td>

              <?php
                echo $info['summary_data'];
            ?>

           </td>
       </tr>
       <tr>
           <td style="vertical-align: top"><div align="right" class="tr_title">数据2</div></td>
           <td>

               <?php
                echo $info['curves_data'];
            ?>

           </td>
       </tr>
   </table>
 </section>
<script type="text/javascript">
function myResearch(){
   var url="/admin/sleepapilog/infoData";
   var id=$("#editId").val();
   var page=$("#cpage").val();
   ContentLoadGo(url+"?id="+id+"&page="+page);
}

$(function(){
   $(".topBannerItem").click(function(){
       var attArr = $(this).attr();
       goToSelfLink(attArr);
   });
});
</script>
{/block}
	  